<?php
use \yii\helpers\Html;
use \yii\helpers\HtmlPurifier;
use \yii\helpers\Url;
$attributes = [];
foreach ((array)$model['attr'] as $item) {
    $attributes[$item['name']] = $item['val'];
}
?><!--items-->
<!--/* @description 行业资讯 */-->


<li>
<a href="<?=Url::to(['/post', 'id' => $model['id']])?>"><?=$model['title']?></a>
<p><?=$attributes['来源']?></p>
</li>